extends Talent
var utils = globalData.infoDs["g_AneHekUtils"]
func init():
	name = "软泥怪加成"

func _connect():
	sys.main.connect("onBattleStart",self,"run")
func run():
	var chas = utils.getAllChas(2)
	for i in chas:
		if i.get("camp") == "软泥怪":
			i.addBuff(BF.new(1))

func get_info():
	return "软泥怪阵营 获得 攻速 +20%|减伤 +10%\n此天赋不需要升级"
	
class BF:
	extends Buff
	var canremove:bool = false
	func _init(lv):
		attInit()
		att.spd = 0.2
		att.defR = 0.1